package com.pig.pojo.recipes;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig.pojo.BasePojo;

import java.util.Date;

@TableName("p_roduction")
public class Production extends BasePojo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long recipesId;
    private String stepImage;
    private String stepDescription;

    @Override
    public String toString() {
        return "Production{" +
                "id=" + id +
                ", recipesId=" + recipesId +
                ", stepImage='" + stepImage + '\'' +
                ", stepDescription='" + stepDescription + '\'' +
                '}';
    }

    public Production() {
    }

    public Long getId() {
        return id;
    }

    public Production(Long id, Long recipesId, String stepImage, String stepDescription) {
        this.id = id;
        this.recipesId = recipesId;
        this.stepImage = stepImage;
        this.stepDescription = stepDescription;
    }

    public Production(Date createdTime, Date modifiedTime, Long id, Long recipesId, String stepImage, String stepDescription) {
        super(createdTime, modifiedTime);
        this.id = id;
        this.recipesId = recipesId;
        this.stepImage = stepImage;
        this.stepDescription = stepDescription;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRecipesId() {
        return recipesId;
    }

    public void setRecipesId(Long recipesId) {
        this.recipesId = recipesId;
    }

    public String getStepImage() {
        return stepImage;
    }

    public void setStepImage(String stepImage) {
        this.stepImage = stepImage;
    }

    public String getStepDescription() {
        return stepDescription;
    }

    public void setStepDescription(String stepDescription) {
        this.stepDescription = stepDescription;
    }
}
